
			window.onload = function(){
				function $(bcg){
					var taget = document.getElementById(bcg);
				var spans=taget.getElementsByTagName("span");
				var lis=taget.getElementsByTagName("li");
				
				for(var i=0;i<spans.length;i++){
					spans[i].index=i;
					spans[i].onmouseover=function(){
						for(var j=0;j<spans.length;j++){
							spans[j].className="";
							lis[j].className="";
						}
						this.className="current";
						lis[this.index].className="show";
					}
				}
			}
				$("box1");
		}
				

